package com.itheima.mobilesafe69.db.domain;

import android.graphics.drawable.Drawable;

public class AppInfo {
	//包名
	public String packageName;
	//名称
	public String name;
	//图标
	public Drawable drawable;
	//是否为系统应用
	public boolean isSystem;
	//是否在sd卡中存储
	public boolean isSdApp;
	
	public AppInfo() {
		super();
	}

	public AppInfo(String packageName, String name, Drawable drawable,
			boolean isSystem, boolean isSdApp) {
		super();
		this.packageName = packageName;
		this.name = name;
		this.drawable = drawable;
		this.isSystem = isSystem;
		this.isSdApp = isSdApp;
	}

	public String getPackageName() {
		return packageName;
	}

	public void setPackageName(String packageName) {
		this.packageName = packageName;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Drawable getDrawable() {
		return drawable;
	}

	public void setDrawable(Drawable drawable) {
		this.drawable = drawable;
	}

	public boolean isSystem() {
		return isSystem;
	}

	public void setSystem(boolean isSystem) {
		this.isSystem = isSystem;
	}

	public boolean isSdApp() {
		return isSdApp;
	}

	public void setSdApp(boolean isSdApp) {
		this.isSdApp = isSdApp;
	}

	@Override
	public String toString() {
		return "AppInfo [packageName=" + packageName + ", name=" + name
				+ ", drawable=" + drawable + ", isSystem=" + isSystem
				+ ", isSdApp=" + isSdApp + "]";
	}
}
